﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FCDB.Entity;

namespace FCDB.Repository
{
    public class WfTasksRepository : LogicBase, ILogic
    {
        public bool IsMine(long activityInstanceID, Guid userID)
        {
            return DBHelper.WfTasks.Count(t => t.ActivityInstanceID == activityInstanceID && t.AssignedToUserID == userID) == 1;
        }
        
        
        
    }
}
